<?php

namespace Home\Controller;
use Think\Action;

class TestController extends Action {
	
	public function index(){
		
		// http://www.77xianhua.com
		
		f_regex_debug_utf8();
		
		set_time_limit(600);
		
		//$aa = $this->getFlower(2);
		
		// $aDataMain = $this->getMain();
		
		$sSavePath = './Public/flower/77xianhua';
		$sSavePath .= '/1.jpg';
		
		$sUrl = 'http://www.77xianhua.com/up_img/20134251375391093.jpg';
		
		import("Flan.Xianhua77");
		$pXianhua77 = new \Xianhua77();
		$pXianhua77->getMain();
		
		// f_collect_saveimg($sUrl, $sSavePath);
	}
	
}